Deep learning for fundamental sciences using high-performance computing